<!DOCTYPE html>
<html lang="en">

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0">

		<title>衡阳理工学校-首页</title>
		<meta name="keywords" content="衡阳理工学校" />
		<meta name="description" content="衡阳理工学校是经湖南省政府批准教育部备案的一所全日制普通高等职业院校,有着30年办学历史和文化积淀,是衡阳市职业教育先进单位、征兵工作先进单位、武装工作先进单位、湖南省高等教育自学考试先进单位、优秀自考助学单位,衡阳市先进基础党组织,守信誉单位.凭山负江,四通八达." />
		<link rel="stylesheet" href="/res/layui/css/layui.css">
		<link rel="stylesheet" href="/res/static/css/index.css">
		<link rel="shortcut icon" href="http://www.hngsxy.com/r3/imgs/sign/bitbug_favicon.ico" />
		<style>
				/*	html { 
				-webkit-filter: grayscale(100%); 
				-moz-filter: grayscale(100%); 
				-ms-filter: grayscale(100%); 
				-o-filter: grayscale(100%); 
				filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);  
				_filter:none; 
			} */
			body {
				margin: 0px;
				/*background: url(https://www.hngsxy.com/r3/imgs/index_scy_jyb_banner.jpg)no-repeat;*/
			}
			
			.gaodu {
				height: 400px;
			}
			
			.gaodu1 {
				height: 400px;
			}
			
			.xwzt {
				font-size: 14px;
				color: #000000;
			}
			
			.xwsj {
				margin-top: 2px;
				font-size: 14px;
				color: #000000;
				float: right;
			}
			
			.xwli {
				margin-bottom: 15px;
				position:relative;
			}
			
			.tt {
				width: 280px;
				height: 180px;
				margin-left: 16px;
				margin-right: 16px;
				margin-top: 10px;
				display: block;
			}

			/* 大屏幕 ：大于等于1200px*/
			@media (min-width: 1200px) {}
			/*默认*/
			
			@media (min-width: 980px) {}
			/* 平板电脑和小屏电脑之间的分辨率 */
			
			@media (min-width: 768px) and (max-width: 979px) {}
			.ztys{
				color: #000;
				font-size: 18px;
			}
			.lastimg{
				width: 200px;
				padding: 10px;
			}
		</style>
		<script>
					#roll {
				position: fixed; /*fixed实现绝对定位*/
				cursor:pointer;
				z-index: 100;
				height: 200px;
				width: 300px;
				margin: 220px 20px;
			}
			#roll img{
				width: 100%;
			}
		var _hmt = _hmt || [];
		(function() {
		  var hm = document.createElement("script");
		  hm.src = "https://hm.baidu.com/hm.js?e03175368b0edd76beeb81a9f6eb4fe3";
		  var s = document.getElementsByTagName("script")[0]; 
		  s.parentNode.insertBefore(hm, s);
		})();
		</script>
	</head>

	<body>
		<ul class="layui-nav" lay-filter="" id="ttt1" style="left:10%; display: none;background-color: white;">
		  <img src="/img/pageimg/hnlgxyTitile.png" alt="衡阳理工学校">
		  <li class="layui-nav-item"><a style="color: #000;font-size: 18px;" href="index.html">网站首页</a></li>
		  <li class="layui-nav-item">
		  	<a style="color: #000;font-size: 18px;" href="javascript:;">学校概况</a>
		    <dl class="layui-nav-child"> <!-- 二级菜单 -->
		      <dd><a style="color: #000;font-size: 18px;" href="/html/newsDetail.html?newsId=427">学校简介</a></dd>
		      <dd><a style="color: #000;font-size: 18px;" href="javascript:;">学校领导</a></dd>
		      <dd><a style="color: #000;font-size: 18px;" href="javascript:;">组织机构</a></dd>
		      <dd><a style="color: #000;font-size: 18px;" href="javascript:;">校园风景</a></dd>
		    </dl>
		  </li>
		  <li class="layui-nav-item">
		  	<a style="color: #000;font-size: 18px;" href="javascript:;">通知公告</a>
		    <dl class="layui-nav-child"> <!-- 二级菜单 -->
		      <dd><a style="color: #000;font-size: 18px;" href="javascript:;">学校动态</a></dd>
		      <dd><a style="color: #000;font-size: 18px;" href="javascript:;">政策文件</a></dd>
		      <dd><a style="color: #000;font-size: 18px;" href="javascript:;">规章制度</a></dd>
		    </dl>
		  </li>
		  <li class="layui-nav-item">
		    <a style="color: #000;font-size: 18px;" href="javascript:;">党团工作</a>
		    <dl class="layui-nav-child"> <!-- 二级菜单 -->
		      <dd><a style="color: #000;font-size: 18px;" href="javascript:;">党团活动</a></dd>
		      <dd><a style="color: #000;font-size: 18px;" href="javascript:;">团学工作</a></dd>
		    </dl>
		  </li>
		  <li class="layui-nav-item">
		  	<a style="color: #000;font-size: 18px;" href="javascript:;">教育教学</a>
		    <dl class="layui-nav-child"> <!-- 二级菜单 -->
		      <dd><a style="color: #000;font-size: 18px;" href="javascript:;">教学活动</a></dd>
		      <dd><a style="color: #000;font-size: 18px;" href="javascript:;">教研工作</a></dd>
		      <dd><a style="color: #000;font-size: 18px;" href="javascript:;">第二课堂</a></dd>
		    </dl>
		  </li>
		  <li class="layui-nav-item">
		  	<a style="color: #000;font-size: 18px;" href="javascript:;">招生就业</a>
		    <dl class="layui-nav-child"> <!-- 二级菜单 -->
		      <dd><a style="color: #000;font-size: 18px;" href="javascript:;">专业简介</a></dd>
		      <dd><a style="color: #000;font-size: 18px;" href="/html/newsDetail.html?newsId=3021">招生简章</a></dd>
		      <!-- <dd><a style="color: #000;font-size: 18px;" target="_blank" href="/pages/anon/online_registration.html">在线报名</a></dd> -->
		    </dl>
		  </li>
		  <li class="layui-nav-item"><a style="color: #000;font-size: 18px;" href="javascript:;">联系我们</a></li>
		</ul>
		<div class="nav index" style="display: none;">
			<div class="layui-container">
				<!-- 公司logo -->
				<div class="nav-logo">
					<a href="index.html">
						<a href="javascript:viod(0)">
							<img style="width: 100%;" src="/img/pageimg/hnlgxyTitile.png" alt="衡阳理工学校">
						</a>
					</a>
				</div>
				<div class="nav-list">
					<button>
		          <span></span><span></span><span></span>
		        </button>
					<ul class="layui-nav" lay-filter="">
						<li class="layui-nav-item">
							<a href="../index.html">首页</a>
						</li>
						<li class="layui-nav-item">
							<a target="_blank" href="/html/newsDetail.html?newsId=427">学校简介</a>
						</li>
						<li class="layui-nav-item">
							<a href="html/product.html">二级菜单</a>
						</li>
						<li class="layui-nav-item">
							<a href="https://www.hngsxy.com/pages/anon/gszxxyWSKX.html">网上看校</a>
						</li>
						<!--<li class="layui-nav-item">
							<a href="https://www.hngsxy.com/pages/anon/sunshine_service.jsp">阳光服务平台</a>
						</li>-->
						<!--						<li class="layui-nav-item">
									<a href="about.html">关于</a>
								</li>-->
					</ul>
				</div>
			</div>
		</div>

		<div>
			<div class="layui-carousel" id="banner" style="display: none;">
				<div carousel-item>
					<div>
						<img style="max-width: 100%;" src="http://www.hylgxx.cn/projectresources/newgsxy/hylgxx1.jpg">
					</div>
					<div>
						<img style="max-width: 100%;" src="http://www.hylgxx.cn/projectresources/newgsxy/hylgxx2.jpg">
					</div>
					<div>
						<img style="max-width: 100%;" src="http://www.hylgxx.cn/projectresources/newgsxy/hylgxx3.jpg">
					</div>
					<div>
						<img style="max-width: 100%;" src="http://www.hylgxx.cn/projectresources/newgsxy/hylgxx4.jpg">
					</div>
				</div>
			</div>
			<div class="layui-carousel" id="banner1" style="display: none;top: 100px;">
				<div carousel-item>
					<div>
						<img style="max-width: 100%;" src="http://www.hylgxx.cn/projectresources/newgsxy/hylgxx1.jpg">
					</div>
					<div>
						<img style="max-width: 100%;" src="http://www.hylgxx.cn/projectresources/newgsxy/hylgxx2.jpg">
					</div>
					<div>
						<img style="max-width: 100%;" src="http://www.hylgxx.cn/projectresources/newgsxy/hylgxx3.jpg">
					</div>
					<div>
						<img style="max-width: 100%;" src="http://www.hylgxx.cn/projectresources/newgsxy/hylgxx4.jpg">
					</div>
				</div>
			</div>
		</div>

		<div class="tlinks">Collect from </div>
		<div class="main-product">
			<div class="layui-container">
				<!--<p class="title">专为学院而设计的<span>新闻板块</span></p>-->
				<div class="layui-row layui-col-space25">
					<!--<div class="layui-col-sm6 layui-col-md12">
						<div class="content gaodu">
							<fieldset class="layui-elem-field layui-field-title">
								<legend style="text-align: center;"><span style="color: #ffcc00;"><i class="layui-icon" style="font-size: 30px; color: #ffcc00;">&#xe609;</i>学院视频</span> -
									<a target="_blank" href="http://www.hngsxy.com/pages/news/newsSpecialColumn.jsp?newType=1">
										<span class="layui-badge layui-bg-orange">
								    		More
								        </span>
									</a>
								</legend>
								<div class="layui-field-box">
									<video style="width: 100%;height: 340px;" controls poster="http://www.hngsxy.com/r3/imgs/index/videoImg.png">
										<source src="http://www.hngsxy.com/temp/media/hngsxyMin.mp4" type="video/mp4">
										<source src="http://www.hngsxy.com/temp/media/hngsxyMin.mp4" type="video/ogg"> 您的浏览器不支持 HTML5
									</video>
								</div>
							</fieldset>
						</div>
					</div>-->
					<div class="layui-col-sm6 layui-col-md4">
						<div class="content gaodu" style="overflow: hidden;">
							<fieldset class="layui-elem-field layui-field-title">
								<legend style="text-align: center;"><span style="color: #1E9FFF;"><i class="layui-icon" style="font-size: 30px; color: #1E9FFF;">&#xe609;</i>通知公告</span> -
									<a target="_blank" href="html/newsDetail1.html?newType=hylgxx2">
										<span class="layui-badge layui-bg-blue">
								    		More
								    </span>
									</a>
								</legend>
								<div class="layui-field-box">
									<marquee class="gaodu" behavior="scroll" direction="up" scrollamount="3" scrolldelay="100" onMouseOut="this.start()" onMouseOver="this.stop()">
										<ul id='tongzhi'>
										</ul>
									</marquee>
									<!--	<ul id="sunshineNumberTmpe"></ul>-->
								</div>
							</fieldset>
						</div>
					</div>
					<div class="layui-col-sm6 layui-col-md4">
						<div class="content gaodu">
							<fieldset class="layui-elem-field layui-field-title">
								<legend style="text-align: center;">
									<span style="color: #009966;"><i class="layui-icon" style="font-size: 30px; color: #009966;">&#xe609;</i>学校新闻</span> -
									<a target="_blank" href="html/newsDetail1.html?newType=hylgxx1">
										<span class="layui-badge layui-bg-green">
								    		More
								    	</span>
									</a>
								</legend>
								<div class="layui-field-box">
									<ul id="xyxw">

									</ul>
								</div>
							</fieldset>
						</div>
					</div>
					<div class="layui-col-sm6 layui-col-md4">
						<div class="content gaodu">
							<fieldset class="layui-elem-field layui-field-title">
								<legend style="text-align: center;"><span style="color: #ff0000;"><i class="layui-icon" style="font-size: 30px; color: #ff0000;">&#xe609;</i>党建动态</span> -
									<a target="_blank" href="html/newsDetail1.html?newType=hylgxx3">
										<span class="layui-badge">
								    		More
								    </span>
									</a>
								</legend>
								<div class="layui-field-box">
									<ul id="djdt">

									</ul>
								</div>
							</fieldset>
						</div>
					</div>
					<div class="layui-col-sm6 layui-col-md4">
						<div class="content gaodu">
							<fieldset class="layui-elem-field layui-field-title">
								<a target="_blank" href="html/newsDetail1.html?newType=hylgxx4"><legend style="text-align: center;"><span style="color: #333366;"><i class="layui-icon" style="font-size: 30px; color: #333366;">&#xe609;</i>招生就业</span> -
									<span class="layui-badge layui-bg-cyan">
								    		More
								   </span>
								</legend></a>
								<div class="layui-field-box">
									<ul id="zsdt">

									</ul>
								</div>
							</fieldset>
						</div>
					</div>
					<div class="layui-col-sm6 layui-col-md4">
						<div class="content gaodu">
							<fieldset class="layui-elem-field layui-field-title">
								<legend style="text-align: center;"><span style="color: #ff7f27;;"><i class="layui-icon" style="font-size: 30px; color: #ff7f27;;">&#xe609;</i>教育教学</span> -
									<a target="_blank" href="html/newsDetail1.html?newType=hylgxx5">
										<span class="layui-badge" style="background-color: #ff7f27;">
								    		More
								    </span>
									</a>
								</legend>
								<div class="layui-field-box">
									<ul id="zjdt">

									</ul>
								</div>
							</fieldset>
						</div>
					</div>
					<div class="layui-col-sm6 layui-col-md4">
						<div class="content gaodu">
							<fieldset class="layui-elem-field layui-field-title">
								<legend style="text-align: center;"><span style="color: #9900cc;"><i class="layui-icon" style="font-size: 30px; color: #9900cc;">&#xe609;</i>政策法规</span> -
									<a target="_blank" href="html/newsDetail1.html?newType=hylgxx8">
										<span class="layui-badge" style="background-color: #9900cc;">
								    		More
								    </span>
									</a>
								</legend>
								<div class="layui-field-box">
									<ul id="mdbd">

									</ul>
								</div>
							</fieldset>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="layui-container">  
		  <div class="layui-row">
			<fieldset class="layui-elem-field layui-field-title">
			  <!--<legend>快捷通道</legend>-->
			  <legend style="margin-left: 45%;font-weight: 900;"><img class="layui-anim layui-anim-rotate" style="width: 50px;margin-right: 20px;" src="http://www.hylgxx.cn/projectresources/newgsxy/kjcd.png" />快捷通道</legend>
			    <div class="layui-col-md3">
					<a href="html/newsDetail.html?newsId=6441"><img class="lastimg" src="http://www.hylgxx.cn/projectresources/newgsxy/rcpyfa.png"/></a>
			    </div>
			    <div class="layui-col-md3">
					<a href="html/newsDetail.html?newsId=7836"><img class="lastimg" src="http://www.hylgxx.cn/projectresources/img/pyddcbg.jpg"/></a>
			    </div>
			</fieldset>
		  </div>
		</div>
		<div class="layui-container">
			<div class="layui-row">
				<div class="layui-col-md12" style="margin: auto;">
					<fieldset class="layui-elem-field layui-field-title" style="border-color:#17975a;">
						<legend id="xyfj">校园风采 - 点击查看更多</legend>
						<div class="layui-field-box layui-col-md12" style="overflow: hidden;">
							<div id="colee_left" style="margin: auto; width: 1500px;overflow: hidden;">
								<table cellpadding="0">
									<tbody>
										<tr>
											<td id="colee_left1" valign="top">
												<table>
													<tbody>
														<tr align="center">
															<td>
																<img class="tt" src="http://www.hngsxy.com/r3/imgs/wskx/IMG_20180327_115013.jpg" />
															</td>
															<td>
																<img class="tt" src="http://www.hngsxy.com/r3/imgs/wskx/IMG_2895.JPG" />
															</td>
															<td>
																<img class="tt" src="http://www.hngsxy.com/r3/imgs/wskx/zyimg10.jpg" />
															</td>
															<td>
																<img class="tt" src="http://www.hngsxy.com/r3/imgs/wskx/zytpimg11.jpg" />
															</td>
															<td>
																<img class="tt" src="http://www.hngsxy.com/r3/imgs/wskx/zytpimg12.jpg" />
															</td>
															<td>
																<img class="tt" src="http://www.hngsxy.com/r3/imgs/wskx/zytpimg13.jpg" />
															</td>
															<td>
																<img class="tt" src="http://www.hngsxy.com/r3/imgs/wskx/zytpimg14.jpg" />
															</td>
															<td>
																<img class="tt" src="https://www.hngsxy.com/houqiimg/ppqqqt.png" />
															</td>
															<td>
																<img class="tt" src="https://www.hngsxy.com/houqiimg/fff1.png" />
															</td>
															<td>
																<img class="tt" src="https://www.hngsxy.com/houqiimg/ffff2.png" />
															</td>
															<td>
																<img class="tt" src="https://www.hngsxy.com/houqiimg/fff3343.png" />
															</td>
														</tr>
													</tbody>
												</table>
											</td>
											<td id="colee_left2" valign="top">
											</td>
										</tr>
									</tbody>
								</table>
							</div>
						</div>
					</fieldset>
				</div>
			</div>
		</div>

		<div class="footer">
		
		</div>
		<script type="text/javascript" src="js/jquery-3.7.0.js"></script>
		<script type="text/javascript" src="js/config.js"></script>
		<script src="res/layui/layui.js"></script>
		<script>
			
				var zichangdu = 1;
			
				var speed = 20;
				//速度数值越大速度越慢
				var colee_left2 = document.getElementById("colee_left2");
				var colee_left1 = document.getElementById("colee_left1");
				var colee_left = document.getElementById("colee_left");
				colee_left2.innerHTML = colee_left1.innerHTML;
	
				function Marquee3() {
					if(colee_left2.offsetWidth - colee_left.scrollLeft <= 0) { //offsetWidth 是对象的可见宽度
						colee_left.scrollLeft -= colee_left1.offsetWidth //scrollWidth 是对象的实际内容的宽，不包边线宽度
					} else {
						colee_left.scrollLeft++;
					}
	
				}
				var MyMar3 = setInterval(Marquee3, speed);
		</script>
		<script>
			
		whatScreen();
		window.onresize = function() {
			whatScreen();
		};

		function whatScreen() {
			let width = document.querySelector("html").offsetWidth;
//				var title = document.querySelector("title");
			if(width <= 768) {
				zichangdu = 12;
				console.log(zichangdu)
							$(".nav").show();
							$("#ttt1").hide()
//					title.innerHTML = "极小屏幕-" + width;
//					console.log('去H5');
							$("#banner1").show();
							$("#banner").hide();
			} else {
				if(width > 768 && width <= 992) {
					zichangdu = 12;
					console.log(zichangdu)
							$(".nav").show();
							$("#ttt1").hide()
							$("#banner1").show();
							$("#banner").hide();
//						console.log('去H5');
//						title.innerHTML = "小屏幕-" + width;
				} else {
					if(width > 992 && width <= 1200) {
						zichangdu = 12;
						console.log(zichangdu)
							$(".nav").hide();
							$("#ttt1").show()
							$("#banner").show();
							$("#banner1").hide();
//							window.location.href = "https://www.hngsxy.com/";
//							title.innerHTML = "普通屏幕-" + width;
					} else {
						if(width > 1200) {
							zichangdu = 20;
							console.log(zichangdu)
							$(".nav").hide();
							$("#ttt1").show()
							$("#banner").show();
							$("#banner1").hide();
//								window.location.href = "https://www.hngsxy.com/";
//								title.innerHTML = "大屏幕-" + width;
						}
					}
				}
			}
		}
			
			
			//高亮变色
			$(document).on("mouseover", ".xwli", function() {
				$(this).children().css("color", "#0055AA");
				$(".layui-badge").css("color", "white");

			}).on("mouseout", ".xwli", function() {
				$(this).children().css("color", "#000000");
				$(".layui-badge").css("color", "white");
			});

			//滚动公告
//			function dd() {
//				//每一秒减去25px----->一个li的高度
//				//linear----->滚动更加流畅
//				$('#three ul').animate({
//					marginTop: '-=25px'
//				}, 1000, "linear", function() {
//					var top = $('#three ul').attr('style');
//					//当有一个li出去时改变top值并克隆第一个li在ul内部进行追加
//					if(top == 'margin-top: -25px;') {
//						$('#three ul').attr('style', 'margin-top: 0px;')
//						$("#three ul li:first").remove().clone(true).appendTo("#three ul");
//					}
//				});
//			}

//			var int = setInterval(dd, 1000);
//			$('#three').hover(function() {
//				clearInterval(int);
//			}, function() {
//				int = setInterval(dd, 1000);
//			});

			function getNowFormatDate() {
				var date = new Date();
				var seperator1 = "-";
				var year = date.getFullYear();
				var month = date.getMonth() + 1;
				var strDate = date.getDate();
				if(month >= 1 && month <= 9) {
					month = "0" + month;
				}
				if(strDate >= 0 && strDate <= 9) {
					strDate = "0" + strDate;
				}
				var currentdate = year + seperator1 + month + seperator1 + strDate;
				return currentdate;
			}

			layui.config({
				base: 'res/static/js/'
			}).use('firm');

			//			request.send("/xt/man.do?m=get&data=list", {
			//				"pb_UrlId": 197,
			//				"newType": ['10', '30', '20', '121', '131', 'DZBGS5', 'ZSW11', 'XSGZC2', 'HQC3', 'JWC1', 'SXY1', 'SXZX3', 'BWC1', 'DDS1', 'GXY1', 'SXY1', 'CWC7'],
			//				"add": "order by newsReleaseTime desc limit 10 "
			//			}, function(d1) {
			//				//$('#tongzhi').render(d1.data, directives);
			//				$("#xyxw")
			//			});

			$(function() {
				
//		    	$('#top').load('html/top.html',function(responseTxt,statusTxt,xhr){
//		            //console.log('responseTxt,statusTxt,xhr')
//		            // console.log(responseTxt)
//		            // console.log(statusTxt)
//		            // console.log(xhr)
//		        })
		    	$('.footer').load('html/bottom.html',function(responseTxt,statusTxt,xhr){
		            //console.log('responseTxt,statusTxt,xhr')
		            // console.log(responseTxt)
		            // console.log(statusTxt)
		            // console.log(xhr)
		        })
				
				
//				$.ajax({
//					type: "post",
////					http://www.hngsxy.com/mybatisplus/gsxyKaishibiao/
//					url: "http://www.hngsxy.com/mybatisplus/gsxyStudentStatus/deleteBatchStudentStatus",
//					data: {
//						'ids': temp
//					},
//					async: true,
//					//timeout:1200,
//					success: function(data) {
//
//					}
//				});
			//查询学校新
			$.ajax({
				type: "get",
				url: "http://www.hylgxx.cn/mybatisplus/gsxyNews/gsxyNewsList",
				async: true,
				data: {
					newType: "hylgxx1"
				},
				
				success: function(data) {
//					console.log(data)
					var temp01 = [];
					$(data).each(function(i, v) {
						if(i < 10){
							if(v.newsReleaseTime.substring(0, 10) == getNowFormatDate()) {
								temp01.push(
									'<li class="xwli">' +
									'<a class="xwzt" onclick="selectOne(' + v.newsId + ')" title="' + v.newsTitle + '">' + v.newsTitle.substring(0, zichangdu) + '</a>' +
									'<span class="layui-badge" style="color: white;">new</span>' +
									'<span class="xwsj">' + v.newsReleaseTime.substring(0, 10) + '</span>' +
									'</li>');
							} else {
								temp01.push(
									'<li class="xwli">' +
									'<a class="xwzt" onclick="selectOne(' + v.newsId + ')" title="' + v.newsTitle + '">' + v.newsTitle.substring(0, zichangdu) + '</a>' +
									'<span class="xwsj">' + v.newsReleaseTime.substring(0, 10) + '</span>' +
									'</li>');
							}
						}

					});
					$("#xyxw").append(temp01);
				}
			});
				
			//查询 党建动态
			$.ajax({
				type: "get",
				url: "http://www.hylgxx.cn/mybatisplus/gsxyNews/gsxyNewsList",
				async: true,
				data: {
					newType: "hylgxx3"
				},
				success: function(data) {
//					console.log(data)
					var temp01 = [];
					$(data).each(function(i, v) {
						if(i < 10){
							if(v.newsReleaseTime.substring(0, 10) == getNowFormatDate()) {
								temp01.push(
									'<li class="xwli">' +
									'<a class="xwzt" onclick="selectOne(' + v.newsId + ')" title="' + v.newsTitle + '">' + v.newsTitle.substring(0, zichangdu) + '</a>' +
									'<span class="layui-badge" style="color: white;">new</span>' +
									'<span class="xwsj">' + v.newsReleaseTime.substring(0, 10) + '</span>' +
									'</li>');
							} else {
								temp01.push(
									'<li class="xwli">' +
									'<a class="xwzt" onclick="selectOne(' + v.newsId + ')" title="' + v.newsTitle + '">' + v.newsTitle.substring(0, zichangdu) + '</a>' +
									'<span class="xwsj">' + v.newsReleaseTime.substring(0, 10) + '</span>' +
									'</li>');
							}
						}

					});
					$("#djdt").append(temp01);
				}
			});

			//查询 招生就业
			$.ajax({
				type: "get",
				url: "http://www.hylgxx.cn/mybatisplus/gsxyNews/gsxyNewsList",
				async: true,
				data: {
					newType: "hylgxx4"
				},
				success: function(data) {
//					console.log(data)
					var temp01 = [];
					$(data).each(function(i, v) {
						if(i < 10){
							if(v.newsReleaseTime.substring(0, 10) == getNowFormatDate()) {
								temp01.push(
									'<li class="xwli">' +
									'<a class="xwzt" onclick="selectOne(' + v.newsId + ')" title="' + v.newsTitle + '">' + v.newsTitle.substring(0, zichangdu) + '</a>' +
									'<span class="layui-badge" style="color: white;">new</span>' +
									'<span class="xwsj">' + v.newsReleaseTime.substring(0, 10) + '</span>' +
									'</li>');
							} else {
								temp01.push(
									'<li class="xwli">' +
									'<a class="xwzt" onclick="selectOne(' + v.newsId + ')" title="' + v.newsTitle + '">' + v.newsTitle.substring(0, zichangdu) + '</a>' +
									'<span class="xwsj">' + v.newsReleaseTime.substring(0, 10) + '</span>' +
									'</li>');
							}
						}

					});
					$("#zsdt").append(temp01);
				}
			});

			$.ajax({
				type: "get",
				//url: "http://www.hylgxx.cn/mybatisplus/gsxyNews/gsxyNewsList",
				url: "http://www.hylgxx.cn/mybatisplus/gsxyNews/gsxyNewsList",
				async: true,
				data: {
					newType: "hylgxx5"
				},
				success: function(data) {
//					console.log(data)
					var temp01 = [];
					$(data).each(function(i, v) {
						if(i < 10){
							if(v.newsReleaseTime.substring(0, 10) == getNowFormatDate()) {
								temp01.push(
									'<li class="xwli">' +
									'<a class="xwzt" onclick="selectOne(' + v.newsId + ')" title="' + v.newsTitle + '">' + v.newsTitle.substring(0, zichangdu) + '</a>' +
									'<span class="layui-badge" style="color: white;">new</span>' +
									'<span class="xwsj">' + v.newsReleaseTime.substring(0, 10) + '</span>' +
									'</li>');
							} else {
								temp01.push(
									'<li class="xwli">' +
									'<a class="xwzt" onclick="selectOne(' + v.newsId + ')" title="' + v.newsTitle + '">' + v.newsTitle.substring(0, zichangdu) + '</a>' +
									'<span class="xwsj">' + v.newsReleaseTime.substring(0, 10) + '</span>' +
									'</li>');
							}
						}

					});
					$("#zjdt").append(temp01);
				}
			});
			//政策法规
			$.ajax({
				type: "get",
				url: "http://www.hylgxx.cn/mybatisplus/gsxyNews/gsxyNewsList",
				async: true,
				data: {
					newType: "hylgxx8"
				},
				success: function(data) {
//					console.log(data)
					var temp01 = [];
					$(data).each(function(i, v) {
						if(i < 10){
							if(v.newsReleaseTime.substring(0, 10) == getNowFormatDate()) {
								temp01.push(
									'<li class="xwli">' +
									'<a class="xwzt" onclick="selectOne(' + v.newsId + ')" title="' + v.newsTitle + '">' + v.newsTitle.substring(0, zichangdu) + '</a>' +
									'<span class="layui-badge" style="color: white;">new</span>' +
									'<span class="xwsj">' + v.newsReleaseTime.substring(0, 10) + '</span>' +
									'</li>');
							} else {
								temp01.push(
									'<li class="xwli">' +
									'<a class="xwzt" onclick="selectOne(' + v.newsId + ')" title="' + v.newsTitle + '">' + v.newsTitle.substring(0, zichangdu) + '</a>' +
									'<span class="xwsj">' + v.newsReleaseTime.substring(0, 10) + '</span>' +
									'</li>');
							}
						}

					});
					$("#mdbd").append(temp01);
				}
			});

			$.ajax({
				type: "get",
				url: "http://www.hylgxx.cn/mybatisplus/gsxyNews/gsxyNewsList",
				async: true,
				data: {
					newType: "hylgxx2"
				},
				success: function(data) {
//					console.log(data)
					var temp01 = [];
					$(data).each(function(i, v) {
						if(i < 10){
							if(v.newsReleaseTime.substring(0, 10) == getNowFormatDate()) {
								temp01.push(
									'<li class="xwli">' +
									'<a class="xwzt" onclick="selectOne(' + v.newsId + ')" title="' + v.newsTitle + '">' + v.newsTitle.substring(0, zichangdu) + '</a>' +
									'<span class="layui-badge" style="color: white;">new</span>' +
									'<span class="xwsj">' + v.newsReleaseTime.substring(0, 10) + '</span>' +
									'</li>');
							} else {
								temp01.push(
									'<li class="xwli">' +
									'<a class="xwzt" onclick="selectOne(' + v.newsId + ')" title="' + v.newsTitle + '">' + v.newsTitle.substring(0, zichangdu) + '</a>' +
									'<span class="xwsj">' + v.newsReleaseTime.substring(0, 10) + '</span>' +
									'</li>');
							}
						}

					});
					$("#tongzhi").append(temp01);
				}
			});
			


				$("#xyfj").on("click", function() {
					window.open("https://www.hngsxy.com/pages/anon/gszxxyWSKX.html");
				});
				$("#xyfj").on("mouseover", function() {
					$("#xyfj").css("color", "#17975a");
				}).on("mouseout", function() {
					$("#xyfj").css("color", "#000000");
				});

			});

			//打开新闻
			function selectOne(id) {
				var url = "/html/newsDetail.html?newsId=" + id;
				//var url = "https://www.hngsxy.com/pages/news/new_gzgt.jsp?newsId=" + id;
				window.open(url);
			}
		</script>
	</body>

</html>